/**
 * PreferredSpawnString.java
 *
 * This Class encapsulates a Preferred Spawn string.
 *
 * @author Somanath
 * @version 1.1 (last updated Sept 2010)
 *
 * class Dependencies: None
 */

 package gamepack;

import java.util.*;

public class PreferredSpawnString {

    public String spawnString;
	public CImage cimg;
	public String name;
	
	public int pos; // The chronological position of the PSS in the file. Useful for Roomeditor functionality.
	
	public String indexStr; // Redundant Information - Usefull for room editor load/save functionality.
							// indexStr is string of the form "x,y" such that Resource.img[x][y] points to Resouce.pss[i].cimg
	
	public PreferredSpawnString() {	}
	
	public PreferredSpawnString(String str, CImage img, String n,String indexString,int position) {
		spawnString = str;
		cimg = img;
		name = n;
		indexStr = indexString;
		pos = position;
	}
}